package com.yidiandao.business.ui.main.shoppingcart.chooseinvoice;

import com.yidiandao.business.base.BasePresenter;
import com.yidiandao.business.base.BaseView;

import java.util.List;

/**
 * 选择发票-契约类
 *
 * <p>Created by ChenTao(chentao7v@gmail.com) on 2017/2/8 15:43
 */
public interface ChooseInvoiceContract {

    interface Presenter extends BasePresenter {

        void onConfirmNoInvoice();

        String getInvoiceType();

        void setInvoiceType(String invoiceType);

        List<String> getNormalInvoiceList();

        String getDefaultNormalInvoice();
    }

    interface View extends BaseView<Presenter> {

        String getNormalType();

        String getTaxType();

        void changeInvoiceUIType(String invoiceType);

        void finishActivity();

        void refreshInvoiceType(List<String> invoiceTypeList);
    }
}
